package com.example.consumer.config;

import com.netflix.loadbalancer.RoundRobinRule;
import org.springframework.context.annotation.Bean;
import com.netflix.loadbalancer.IRule;

/**
 * @author whn
 */
public class MyRule {
    @Bean
    public IRule getLoadBalancedRule(){
        return  new RoundRobinRule();
    }
}
